package com.lagou.edu.service.impl;

import com.lagou.edu.service.EmailRpcService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Service;

@Service
@Slf4j
public class EmailRpcServiceImpl implements EmailRpcService {
    @Override
    public boolean send(String email, String code) {
        log.info("《================收到验证码邮件：email={}, code={}", email, code);
        return true;
    }
}
